module.exports = {
    devServer: {
        host: 'localhost',
        port: 8080,
        open: false,
        proxy: {
            '/api':{
                target:'https://m.qyer.com/home/api/',//目标地址
                ws:true,
                pathRewrite:{
                    '^/api':'/'
                }
            },
            '/ajax':{
                target:'https://m.qyer.com/qcross/home/ajax/',//目标地址
                ws:true,
                pathRewrite:{
                    '^/ajax':'/'
                }
            },
            
    },
}
}